//
//  Customheadings.m
//  releaseInterface
//
//  Created by Gamefire on 16/4/14.
//  Copyright © 2016年 Gamefire. All rights reserved.
//

#import "Customheadings.h"
#define  UIColorRGBA(r, g, b, a) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:(a)]

#define kWindowWidth                        ([[UIScreen mainScreen] bounds].size.width)

#define kWindowHeight                       ([[UIScreen mainScreen] bounds].size.height)


@implementation Customheadings
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        UILabel *starlabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, self.bounds.size.width,20)];
        [starlabel setBackgroundColor:UIColorRGBA(237, 237, 237, 1)];
        [starlabel setText:@"   明星关联"];
        [starlabel setTextColor:UIColorRGBA(102, 102, 102, 1)];
        [starlabel setFont:[UIFont systemFontOfSize:11.0]];
        [self addSubview:starlabel];
    }
    return self;
}
@end
